<% includeFileTemplate("../_header.html"){} %>

<body>
 <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">管理平台</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="${request.ContextPath}/adminmg/">首页</a></li>
            <li class="active"><a href="${request.ContextPath}/adminmg/loginout">退出</a></li>
            <li class="active"><a href="${request.ContextPath}/adminmg/password">修改密码</a></li>
            <li class="active"><a href="${request.ContextPath}">返回前台</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

<div class="container" >
<div style="margin: 80px;"></div>

<form class="navbar-form" role="search" method="post" action="">
  <div class="form-group">
    <input type="text" class="form-control" placeholder="Search" name="id">
  </div>
  <button type="submit" class="btn btn-default">查询</button>
</form>
<div class="table-responsive">
  <table class="table table-striped">
   		<thead>
			<tr>
				<th>ID</th>
				<th>手机号</th>
				<th>真实姓名</th>
				<th>操作</th>
			</tr>
		</thead>
		<%for(list1 in list){%>
			<tr>
				<td>${list1.id}</td>
				<td>${list1.username}</td>
				<td>${list1.real_name}</td>
				
				<td><a href="${request.ContextPath}/adminmg/lookUser/${list1.id}">查看</a><a href="${request.ContextPath}/adminmg/showByid/${list1.id}">编辑</a></td>
			</tr>
			<%}%>
  </table>
  <%includeFileTemplate("../_paginate.html",{"currentPage":page.pageNumber,"totalPage":page.totalPage,"actionUrl":"","urlParas":paraurl}){} %>
</div>
</div>

</body>
<% includeFileTemplate("../_footer.html"){} %>
<script type="text/javascript">
$(function() {
	$('.form_date').datetimepicker({
		format: "yyyy-MM-dd ",
        weekStart: 1,
        todayBtn:  1,
		autoclose: 1,
		todayHighlight: 1,
		startView: 2,
		minView: 2,
		forceParse: 0
    });
	
});
</script>
</html>